package com.hzau.tourist_service_sys.pojo;

import java.sql.Timestamp;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.Date;

import com.alibaba.druid.proxy.jdbc.JdbcParameter;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 紧急事件表(Emergency)表实体类
 *
 * @author makejava
 * @since 2023-07-27 15:59:18
 */
@SuppressWarnings("serial")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Emergency {

    @TableId(type = IdType.AUTO)
    @JsonProperty("emergencyId")
    private Long emergencyId;
    
    private Long userId;

    private String title;
    private Timestamp eCreateTime;
    @JsonProperty("eEndTime")
    private Timestamp eEndTime;
    @JsonProperty("eStatus")
    private Integer eStatus;
    @JsonProperty("eType")
    private Integer eType;
    @JsonProperty("eLevel")
    private Integer eLevel;

    @JsonProperty("eMsg")
    private String eMsg;
    @TableField(exist = false)
    public Integer pagenum;
    @TableField(exist = false)
    private ArrayList<Integer> types;
    public Integer getPagenum() {
        return pagenum;
    }

    public void setPagenum(Integer pagenum) {
        this.pagenum = pagenum;
    }
}

